package com.micro.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("HR_Company")
public class Company {
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private Long id;
    @TableField("CompanyCode")
    private String CompanyCode;
    @TableField("CompanyName")
    private String CompanyName;
    @TableField("ShortName")
    private String ShortName;
    @TableField("NcCode")
    private String NcCode;
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    @TableField("ManageGroupId")
    private Long ManageGroupId;
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    @TableField("FinanceGroupId")
    private Long FinanceGroupId;
    @TableField("CompanyStatus")
    private String CompanyStatus;
    @TableField("IsUnify")
    private Integer IsUnify;
    @TableField("Currency")
    private String Currency;
    @TableField("SortNum")
    private Integer SortNum;
    @TableField("Remark")
    private String Remark;
    @TableField("YLInsureC")
    private double YLInsureC;
    @TableField("YLInsureCUnit")
    private String YLInsureCUnit;
    @TableField("YLInsureP")
    private double YLInsureP;
    @TableField("YLInsurePUnit")
    private String YLInsurePUnit;
    @TableField("GSInsureC")
    private double GSInsureC;
    @TableField("GSInsureCUnit")
    private String GSInsureCUnit;
    @TableField("GSInsureP")
    private double GSInsureP;
    @TableField("GSInsurePUnit")
    private String GSInsurePUnit;
    @TableField("SYEInsureC")
    private double SYEInsureC;
    @TableField("SYEInsureCUnit")
    private String SYEInsureCUnit;
    @TableField("SYEInsureP")
    private double SYEInsureP;
    @TableField("SYEInsurePUnit")
    private String SYEInsurePUnit;
    @TableField("ZGYLInsureC")
    private double ZGYLInsureC;
    @TableField("ZGYLInsureCUnit")
    private String ZGYLInsureCUnit;
    @TableField("ZGYLInsureP")
    private double ZGYLInsureP;
    @TableField("ZGYLInsurePUnit")
    private String ZGYLInsurePUnit;
    @TableField("SYUInsureC")
    private double SYUInsureC;
    @TableField("SYUInsureCUnit")
    private String SYUInsureCUnit;
    @TableField("SYUInsureP")
    private double SYUInsureP;
    @TableField("SYUInsurePUnit")
    private String SYUInsurePUnit;
    @TableField("ZFInsureC")
    private double ZFInsureC;
    @TableField("ZFInsureCUnit")
    private String ZFInsureCUnit;
    @TableField("ZFInsureP")
    private double ZFInsureP;
    @TableField("ZFInsurePUnit")
    private String ZFInsurePUnit;
    @TableField("DBYLInsureC")
    private double DBYLInsureC;
    @TableField("DBYLInsureCUnit")
    private String DBYLInsureCUnit;
    @TableField("DBYLInsureP")
    private double DBYLInsureP;
    @TableField("DBYLInsurePUnit")
    private String DBYLInsurePUnit;
    @TableField("CreateBy")
    private String CreateBy;
    @TableField("CreateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date CreateTime;
    @TableField("UpdateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date UpdateTime;
    @TableField("UpdateBy")
    private String UpdateBy;
    @TableField("UpdateAction")
    private String UpdateAction;
}
